package com.embhealth.dao;

import com.embhealth.pojo.Setmeal;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

public interface SetmealDao {
    public void add(Setmeal setmeal);
    public void edit(Setmeal setmeal);
    public void setSetmealAndCheckGroup(Map map);
    public Page<Setmeal> findByCondition(String queryString);
    public Setmeal findById(Integer id);
    public Setmeal findCheckGroupById(Integer id);
    public List<Integer> findCheckGroupIdsBySetmealId(Integer id);
    public void deleteAssocication(Integer id);
    public void delete(Integer id);
    public List<Setmeal> findAll();
    public List<Map<String, Object>> findSetmealCount();
    public List<Map<String, Object>> findSetmealIncomeCount();
    public Integer totalIncome();
}
